//
//  XHRouter.m
//  XHRouter
//
//  Created by xinph on 2020/3/16.
//  Copyright © 2020 xinph. All rights reserved.
//

#import "XHRouter.h"
#import <CTMediator/CTMediator.h>

@implementation XHRouter

+ (id)performTarget:(id<XHRouterService>)target callback:(id  _Nonnull (^)(id _Nonnull))callback
{
    return [[CTMediator sharedInstance] performTarget:target.target action:target.action params:target.commonParams shouldCacheTarget:target.shouldCacheTarget];
}

@end
